package com.ruoyi.experiment.service;

import java.util.List;
import com.ruoyi.experiment.domain.TeachingExperimentalEnvironment;

/**
 * 教学实验环境Service接口
 * 
 * @author 邓鑫
 * @date 2023-07-29
 */
public interface ITeachingExperimentalEnvironmentService 
{
    /**
     * 查询教学实验环境
     * 
     * @param teachingEnvironmentId 教学实验环境主键
     * @return 教学实验环境
     */
    public TeachingExperimentalEnvironment selectTeachingExperimentalEnvironmentByTeachingEnvironmentId(Long teachingEnvironmentId);

    /**
     * 查询教学实验环境列表
     * 
     * @param teachingExperimentalEnvironment 教学实验环境
     * @return 教学实验环境集合
     */
    public List<TeachingExperimentalEnvironment> selectTeachingExperimentalEnvironmentList(TeachingExperimentalEnvironment teachingExperimentalEnvironment);

    /**
     * 新增教学实验环境
     * 
     * @param teachingExperimentalEnvironment 教学实验环境
     * @return 结果
     */
    public int insertTeachingExperimentalEnvironment(TeachingExperimentalEnvironment teachingExperimentalEnvironment);

    /**
     * 修改教学实验环境
     * 
     * @param teachingExperimentalEnvironment 教学实验环境
     * @return 结果
     */
    public int updateTeachingExperimentalEnvironment(TeachingExperimentalEnvironment teachingExperimentalEnvironment);

    /**
     * 批量删除教学实验环境
     * 
     * @param teachingEnvironmentIds 需要删除的教学实验环境主键集合
     * @return 结果
     */
    public int deleteTeachingExperimentalEnvironmentByTeachingEnvironmentIds(Long[] teachingEnvironmentIds);

    /**
     * 删除教学实验环境信息
     * 
     * @param teachingEnvironmentId 教学实验环境主键
     * @return 结果
     */
    public int deleteTeachingExperimentalEnvironmentByTeachingEnvironmentId(Long teachingEnvironmentId);

    /**
     * 生成环境实例
     */
    void addExample(Long teachingEnvironmentId);
}
